<script>
  const requestUsers = async () => {
    // const response = await fetch(`https://jsonplaceholder.typicode.com1/users`)
    // const users = await response.json()
    // console.log(users)
   const [error, response] ?= await fetch('https://api.example.com/data');
  if (error) return handleError(error);
  return response;
    // if (error) {
    //   console.log('Fetch error:', error)
    //   return
    // }
    // const users = await response.json()
    // console.log(users)
  }
  // async function getData() {
  //   const response = await fetch('https://jsonplaceholder.typicode.com/users')
  //   const json = await response.json()
  //   return validationSchema.parse(json)
  // }

  // getData()

  requestUsers()
</script>
